import java.io.IOException;

public class HLPlayer extends Player{
	String steamID;
	
	private final static String regExprSteamID = "[01]:[01]:[0-9]+";
	
	public HLPlayer(String steamID) throws IOException{
		if(!steamID.matches(regExprSteamID))
			throw new NoSteamIDException();
		this.steamID = steamID;
	}
	

	public String getSteamID() {
		return steamID;
	}
	
	@Override
	public String toString(){
		return steamID;
	}
	
}
